package com.jumi.microservice.constant.usercash;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author Scw
 * @Date 2020-07-22 18:03
 */
public enum CashStatusEnum implements AbstractEnum {
    //提现状态 0-待审核 1-提现处理中 2-审核失败 3-提现到账 4-提现失败
    STATUS_APPLY(0, "待审核"),
    STATUS_AUDIT_PASSED(1, "提现处理中"),
    STATUS_AUDIT_FAILED(2, "审核失败"),
    STATUS_CASH_ACCOUNT(3, "提现到账"),
    STATUS_CASH_FAILED(4, "提现失败");

    private Integer code;
    private String desc;

    CashStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}

